package Demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 殇
 * Date: 2025-06-09
 * Time: 21:09
 */

//实现USB接口
public class Mouse implements USB{

    @Override
    public void openDevice() {
        System.out.println("连接鼠标");
    }

    @Override
    public void offDevice() {
        System.out.println("断开鼠标连接");
    }

    public void click(){
        System.out.println("点击鼠标");
    }
}
